/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren.modules.app.form;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 注册表单
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@ApiModel(value = "注册表单")
public class RegisterForm {

  private int user_id;
  @ApiModelProperty(value = "iPhone")
  @NotBlank(message="手机号不能为空")
  @JsonProperty(value = "iPhone")
  private String iPhone;
  @ApiModelProperty(value = "ID")
  @NotBlank(message="身份证不能为空")
  @JsonProperty(value = "ID")

    private String ID;
  /* @ApiModelProperty(value = "验证码")
    @NotBlank(message="验证码不能为空")
    private String password;*/
    private String openId;
    private int classification;
}
